package com.aaa.ssm.dao;

import com.aaa.ssm.entity.Medicine;
import com.aaa.ssm.entity.OperLog;

import java.util.Collection;
import java.util.List;

/**
 * @ fileName:OperLogDao
 * @ description:
 * @ author:张圣福
 * @ createTime:2023/10/17 17:11
 * @ version:1.0.0
 */
public interface OperLogDao {

    /**
     * 添加
     * @param operLog
     * @return
     */
    int  add(OperLog operLog);

    /*
     * 参数分页查询
     * */
    List<OperLog> selectAll(OperLog operLog);


    /*
     * 更新
     * */
    int Operupdate(OperLog operLog);


    /*
     * 删除
     * */
    int Operdelete(Integer operId);

    /*
     * 批量删除
     * */
    int OperdeleteBatchIds(Collection<Integer> collection);


    /*
     * 日志查询
     * */
    List<OperLog> queryAll(OperLog operLog);

    /*
     * 登录次数图表
     * */
    List<OperLog> countOper();
}
